<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/20
 * Time: 16:20
 */

$str = 'date1111date';
$r = preg_match('/date(11){2}date/',$str,$m);//\w [A-Za-z0-9_]  \W[^A-Za-z0-9_]
var_dump($r);
if ($r){
    echo 'yes';
    var_dump($m);
} else {
    echo "no";
    var_dump($m);
}